package main

import (
	srv "app.com/common.v1/server"
	_ "app.com/rpc.v1/config"
	"app.com/rpc.v1/internal/dao"
	"app.com/rpc.v1/internal/service"
	"app.com/rpc.v1/router"
)

func main() {
	grpc := router.RegisterGrpc(service.RegisterService(dao.NewDao()))
	srv.RunRpc(grpc)
}
